import { View, Text } from 'react-native'
import { Link, useRouter } from 'expo-router'

export default function Home() {
  const router = useRouter()
  return (
    <View>
      <Text onPress={() => router.dismissAll()}>Hello Home</Text>
      <Link href="/">
        <Text>去首页</Text>
      </Link>
    </View>
  )
}